class userinfo{
    getFieldTypeMap() {
        let fieldTypeMap = new Map();
        fieldTypeMap.set('id', 'String');
        fieldTypeMap.set('nickName', 'String');
        fieldTypeMap.set('birthday', 'Date');
        fieldTypeMap.set('gender', 'String');
        return fieldTypeMap;
    }

    getClassName() {
        return 'UserInfo';
    }

    getPrimaryKeyList() {
        let primaryKeyList = [];
        primaryKeyList.push('id');
        return primaryKeyList;
    }

    getIndexList() {
        let indexList = [];
        return indexList;
    }

    getEncryptedFieldList() {
        let encryptedFieldList = [];
        return encryptedFieldList;
    }

    setId(id) {
        this.id = id;
    }

    getId() {
        return this.id;
    }
    setNickName(nickName){
        this.nickName=nickName;
    }
    getNickName(){
        return this.nickName
    }
    setBirthday(birthday){
        this.birthday=birthday;
    }
    getBirthday(){
        return this.birthday
    }
    setGender(gender){
        this.gender=gender;
    }
    getGender(){
        return this.gender
    }
}

module.exports = {userinfo}